package com.chukun.flink.stream.bean;

/**
 * @author chukun
 * @version 1.0.0
 * @description 实体类
 * @createTime 2022年05月10日 00:47:00
 */
public class Trade {

    private String phone;

    private Integer amount;

    private String time;

    // 必须加无参构造器
    public Trade() {
    }

    public Trade(String phone, Integer amount, String time) {
        this.phone = phone;
        this.amount = amount;
        this.time = time;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Trade{" +
                "phone='" + phone + '\'' +
                ", amount=" + amount +
                ", time='" + time + '\'' +
                '}';
    }
}
